package com.zzl.bonds.ticket.dto.finance;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import com.zzl.general.common.utils.DoubleSerialize;
import lombok.Data;

import java.io.Serializable;

/**
 * 融资列表统计数据
 *
 * @author gull
 * @date 2021-12-29 23:35:11
 */
@ApidocModel
@Data
public class TicketFinanceDataDto implements Serializable {

    @ApidocModelProperty(name = "融资笔数(今日)")
    private Integer countToday;
    @JsonSerialize(using = DoubleSerialize.class)
    @ApidocModelProperty(name = "融资金额（今日）")
    private Double ticketAmountToday;
    @JsonSerialize(using = DoubleSerialize.class)
    @ApidocModelProperty(name = "融资中金额")
    private Double ticketAmountApproving;

}
